#ifndef HERM_UTIL_TEA_H
#define HERM_UTIL_TEA_H

#include <string>
#include "herm/export_symbols.h"

namespace herm{

/**
 * @brief Encryption by TEA.
 * @param [key] 128bits key.
 */
void HERM_API TeaEncrypt(const char* inBuf, int inLen, const std::string& key, char* outBuf, int& outLen);
void HERM_API TeaDecrypt(const char* inBuf, int inLen, const std::string& key, char* outBuf, int& outLen);

}

#endif
